package com.sw.bbs.board.vo.request.comment;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.sw.bbs.common.constant.BBSConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@ApiModel
public class InsertCommentRequest {

    @ApiModelProperty("帖子ID")
    private Integer postId;

    @ApiModelProperty("评论内容")
    private String content;

    @ApiModelProperty("评论类型")
    @JsonIgnore
    private Integer type;

    @ApiModelProperty("回复评论id")
    private Integer parentCommentId;

    private Integer likeNum;

    private Integer dislikeNum;

    private Integer fromId;

    private String fromName;

    private String fromAvator;

    private Integer toId;

    private String toName;

    private String toAvator;

    private Integer anonymous;

    private String permission;

    private String otherInfo;

    @ApiModelProperty("解析后内容结构")
    private String resolveInfo;
}
